import configparser
import os
import sys

application_path = None
if hasattr(sys, 'frozen'):
    application_path = os.path.dirname(sys.executable)
elif __file__:
    application_path = os.path.dirname(os.path.abspath(__file__))

config = configparser.ConfigParser()
config.read(application_path + '/config.ini')
